<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="p"%>
<%
	String path = request.getContextPath();
	String root = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
	request.setAttribute("root", root);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=8" />

	<title>MochaUI - A Web Applications User Interface Library</title>
	<meta name="description" content="A web applications user interface library built on the Mootools javascript framework" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />

	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Content.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Core.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Layout.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Dock.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Tabs.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Window.css" />

    <script type="text/javascript" src="${root}/static/scripts/mootools-1.2.4-core-yc.js"></script>
    <script type="text/javascript" src="${root}/static/scripts/mootools-1.2.4-more-yc.js"></script>
    <script type="text/javascript" src="${root}/static/scripts/mocha.js"></script>    
	<script type="text/javascript" src="${root}/static/scripts/demo-virtual-desktop-init.js"></script>
	<script type="text/javascript" src="${root}/static/plugins/tree/scripts/tree.js"></script>
	<script type="text/javascript" src="${root}/static/wdate/WdatePicker.js"></script>
<style>
<!--
table {
	border-collapse: collapse;
	margin-bottom: 10px;
	border: 1px solid #ccd9e9;
	/*color:#234e9b;*/
}

table th {
	background: url(${root}/static/images/th_bg.gif);
	height: 29px;
	border-bottom: 1px solid #e7e7e7;
	border-right: 1px solid #e7e7e7;
	color: #464646;
	text-align: center;
}

table td {
	height: 25px;
	border-bottom: 1px solid #e7e7e7;
	border-right: 1px solid #e7e7e7;
	padding-left: 15px;
	font-size: 12px
}

.tr_out {
	background: #ffffff;
}

.tr_over {
	background: #dae9ec;
}

-->
</style>
</head><body>
<table width="1800px" border="1">
  <caption></caption>
  <thead>
  <tr align="center">
    <th rowspan="2">序号</th>
    <th rowspan="2">姓名</th>
    <th rowspan="2">身份证号码</th>
    <th rowspan="2">缴费月数</th>
    <th rowspan="2">缴费基数</th>
    <th colspan="9">企业部份</th>
    <th colspan="8">个人部份</th>
    <th rowspan="2">社保合计</th>
    <th rowspan="2">工会会费</th>
    <th rowspan="2">服务费</th>
    <th rowspan="2">其他费</th>
    <th rowspan="2">合计</th>
  </tr>
  <tr align="center">
    <th>社保养老</th>
    <th>社保医疗</th>
    <th>失业</th>
    <th>工伤</th>
    <th>生育</th>
    <th>补收社保差额</th>
    <th>公积金</th>
    <th>补收公积金差额</th>
    <th>小计</th>
     <th>社保养老</th>
    <th>社保医疗</th>
    <th>失业</th>
    <th>门诊</th>
    <th>补收社保差额</th>
    <th>公积金</th>
    <th>补收公积金差额</th>
    <th>小计</th>
  </tr>
  </thead>
  <tbody>
  	<s:iterator var="salary" value="#request.list" status="r">
  	<tr onMouseOver="this.className='tr_over'" onMouseOut="this.className='tr_out'">
  		<td>${r.index + 1}</td>
  		<td>${name}</td>
  		<td>${idcard}</td>
  		<td>${month}</td>
  		<td>${baseNumber}</td>
  		<td>${eEndowmentFee}</td>
  		<td>${eMedicalFee}</td>
  		<td>${eUnemployedFee}</td>
  		<td>${eIndustrialFee}</td>
  		<td>${eMaternityFee}</td>
  		<td>补收</td>
  		<td>${eAfFee}</td>
  		<td>补收</td>
  		<td>${eSum}</td>  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  		<td>${pEndowmentFee}</td>
  		<td>${pMedicalFee}</td>
  		<td>${pUnemployedFee}</td>
  		<td>${pOutpatient}</td>
  		<td>补收</td>
  		<td>${pAfFee}</td>
  		<td>补收</td>
  		<td>${pSum}</td>
  		<td>${sheBaoSum}</td>
  		<td>${unionFee}</td>
  		<td>${serverFee}</td>
  		<td>${otherFee}</td>
  		<td>${total}</td>
  		</tr>
  	</s:iterator>
  </tbody>
  <tfoot>
  </tfoot>
</table>
</body>
</html>
